/**
 * 
 */
package cn.edu.sjtu.se.dslab.service;

import java.util.List;
import java.util.Set;

import cn.edu.sjtu.se.dslab.project.BusZone;
import cn.edu.sjtu.se.dslab.project.EntityZone;

/**
 * @author longshaohang
 *
 */
public interface IBusZoneService {
	
	public BusZone getBusZoneById(long id);

	public BusZone getBusZoneByName(String name);
	
	public List<BusZone> getBusZoneList();
	
	public boolean addBusZone(BusZone entityZone, long projectId);

	public BusZone updateBusZone(BusZone button);
	
	public boolean deleteBusZoneById(long buttonId);
	
	public List<BusZone> getBusZoneByProject(long projectId);
	
	public Set<EntityZone> getEntityZoneSet(long busZoneId);
	
	public void addEntityZone(long busZoneId, List<EntityZone> entityZoneList);

	public BusZone getBusZoneByProjectAndName(long projectId, String name);
	
}
